# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'splashscreen.ui'
##
## Created by: Qt User Interface Compiler version 6.9.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QHBoxLayout, QLabel, QMainWindow,
    QProgressBar, QSizePolicy, QSpacerItem, QVBoxLayout,
    QWidget)

class Ui_splashscreen(object):
    def setupUi(self, splashscreen):
        if not splashscreen.objectName():
            splashscreen.setObjectName(u"splashscreen")
        splashscreen.resize(600, 400)
        icon = QIcon()
        icon.addFile(u":/img/logo.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
        splashscreen.setWindowIcon(icon)
        splashscreen.setStyleSheet(u"QMainWindow {\n"
"    \n"
"    background: qlineargradient(x1:0, y1:0, x2:1, y2:1, \n"
"        stop:0 #0f0f23, \n"
"        stop:0.3 #1a1a2e, \n"
"        stop:0.6 #16213e, \n"
"        stop:1 #0f3460);\n"
"    border-radius: 16px; \n"
"    border: none;\n"
"}\n"
"\n"
"QWidget#centralwidget {\n"
"        background: transparent;\n"
"    border-radius: 16px; \n"
"}\n"
"\n"
"QProgressBar {\n"
"    background-color: rgba(255, 255, 255, 0.1);\n"
"    border: 1px solid rgba(255, 255, 255, 0.3);\n"
"    border-radius: 5px;\n"
"    text-align: center;\n"
"    color: white;\n"
"    font-size: 12px;\n"
"}\n"
"\n"
"QProgressBar::chunk {\n"
"    background-color: qlineargradient(x1:0, y1:0, x2:1, y2:0,\n"
"        stop:0 #00d4ff,\n"
"        stop:0.5 #4ca1af,\n"
"        stop:1 #2a6670);\n"
"    border-radius: 3px;\n"
"}\n"
"\n"
"")
        self.centralwidget = QWidget(splashscreen)
        self.centralwidget.setObjectName(u"centralwidget")
        self.centralwidget.setGeometry(QRect(10, 0, 510, 370))
        self.verticalLayout = QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.horizontalLayout_2 = QHBoxLayout()
        self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
        self.horizontalSpacer_3 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)

        self.horizontalLayout_2.addItem(self.horizontalSpacer_3)

        self.closeButton = QLabel(self.centralwidget)
        self.closeButton.setObjectName(u"closeButton")
        self.closeButton.setMinimumSize(QSize(30, 30))
        self.closeButton.setMaximumSize(QSize(30, 30))
        font = QFont()
        font.setFamilies([u"Arial"])
        font.setPointSize(14)
        font.setBold(True)
        self.closeButton.setFont(font)
        self.closeButton.setStyleSheet(u"QLabel {\n"
"    background-color: transparent;\n"
"    color: white;\n"
"    border: 2px solid white;\n"
"    border-radius: 15px;\n"
"    text-align: center;\n"
"}\n"
"\n"
"QLabel:hover {\n"
"    background-color: rgba(255, 255, 255, 0.1);\n"
"}")
        self.closeButton.setAlignment(Qt.AlignCenter)

        self.horizontalLayout_2.addWidget(self.closeButton)


        self.verticalLayout.addLayout(self.horizontalLayout_2)

        self.verticalSpacer = QSpacerItem(428, 38, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)

        self.verticalLayout.addItem(self.verticalSpacer)

        self.horizontalLayout = QHBoxLayout()
        self.horizontalLayout.setObjectName(u"horizontalLayout")
        self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)

        self.horizontalLayout.addItem(self.horizontalSpacer)

        self.logoLabel = QLabel(self.centralwidget)
        self.logoLabel.setObjectName(u"logoLabel")
        sizePolicy = QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.logoLabel.sizePolicy().hasHeightForWidth())
        self.logoLabel.setSizePolicy(sizePolicy)
        self.logoLabel.setMinimumSize(QSize(80, 80))
        self.logoLabel.setMaximumSize(QSize(80, 80))
        self.logoLabel.setScaledContents(True)
        self.logoLabel.setAlignment(Qt.AlignCenter)

        self.horizontalLayout.addWidget(self.logoLabel)

        self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)

        self.horizontalLayout.addItem(self.horizontalSpacer_2)


        self.verticalLayout.addLayout(self.horizontalLayout)

        self.verticalSpacer_5 = QSpacerItem(508, 14, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)

        self.verticalLayout.addItem(self.verticalSpacer_5)

        self.titleLabel = QLabel(self.centralwidget)
        self.titleLabel.setObjectName(u"titleLabel")
        font1 = QFont()
        font1.setFamilies([u"\u5fae\u8f6f\u96c5\u9ed1"])
        font1.setPointSize(28)
        font1.setBold(True)
        self.titleLabel.setFont(font1)
        self.titleLabel.setWindowIcon(icon)
        self.titleLabel.setStyleSheet(u"QLabel {\n"
"    color: white;\n"
"    background: transparent;\n"
"}")
        self.titleLabel.setAlignment(Qt.AlignCenter)

        self.verticalLayout.addWidget(self.titleLabel)

        self.verticalSpacer_3 = QSpacerItem(14, 24, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Minimum)

        self.verticalLayout.addItem(self.verticalSpacer_3)

        self.label = QLabel(self.centralwidget)
        self.label.setObjectName(u"label")
        self.label.setStyleSheet(u" \n"
"    color: white;\n"
"    background: transparent;\n"
" ")
        self.label.setAlignment(Qt.AlignCenter)

        self.verticalLayout.addWidget(self.label)

        self.horizontalLayout_3 = QHBoxLayout()
        self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
        self.horizontalSpacer_5 = QSpacerItem(60, 20, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Minimum)

        self.horizontalLayout_3.addItem(self.horizontalSpacer_5)

        self.progressBar = QProgressBar(self.centralwidget)
        self.progressBar.setObjectName(u"progressBar")
        self.progressBar.setMinimumSize(QSize(0, 10))
        self.progressBar.setMaximumSize(QSize(16777215, 10))
        self.progressBar.setLayoutDirection(Qt.LeftToRight)
        self.progressBar.setAutoFillBackground(False)
        self.progressBar.setValue(24)
        self.progressBar.setAlignment(Qt.AlignCenter)
        self.progressBar.setTextVisible(True)

        self.horizontalLayout_3.addWidget(self.progressBar)

        self.horizontalSpacer_4 = QSpacerItem(60, 20, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Minimum)

        self.horizontalLayout_3.addItem(self.horizontalSpacer_4)


        self.verticalLayout.addLayout(self.horizontalLayout_3)

        self.verticalSpacer_4 = QSpacerItem(14, 13, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Minimum)

        self.verticalLayout.addItem(self.verticalSpacer_4)

        self.versionLabel = QLabel(self.centralwidget)
        self.versionLabel.setObjectName(u"versionLabel")
        font2 = QFont()
        font2.setFamilies([u"\u5fae\u8f6f\u96c5\u9ed1"])
        font2.setPointSize(14)
        font2.setBold(True)
        self.versionLabel.setFont(font2)
        self.versionLabel.setStyleSheet(u"QLabel {\n"
"    color: white;\n"
"    background: transparent;\n"
"}")
        self.versionLabel.setAlignment(Qt.AlignCenter)

        self.verticalLayout.addWidget(self.versionLabel)

        self.verticalSpacer_2 = QSpacerItem(378, 38, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)

        self.verticalLayout.addItem(self.verticalSpacer_2)

        splashscreen.setCentralWidget(self.centralwidget)

        self.retranslateUi(splashscreen)

        QMetaObject.connectSlotsByName(splashscreen)
    # setupUi

    def retranslateUi(self, splashscreen):
        splashscreen.setWindowTitle(QCoreApplication.translate("splashscreen", u"YouTube \u89c6\u9891\u4e0b\u8f7d\u5668", None))
#if QT_CONFIG(statustip)
        self.closeButton.setStatusTip(QCoreApplication.translate("splashscreen", u"\u5173\u95ed", None))
#endif // QT_CONFIG(statustip)
        self.closeButton.setText(QCoreApplication.translate("splashscreen", u"\u00d7", None))
        self.logoLabel.setText("")
        self.titleLabel.setText(QCoreApplication.translate("splashscreen", u"YouTube \u89c6\u9891\u4e0b\u8f7d\u5668", None))
        self.label.setText(QCoreApplication.translate("splashscreen", u"\u6b63\u5728\u521d\u59cb\u5316", None))
        self.progressBar.setFormat(QCoreApplication.translate("splashscreen", u"%p%", None))
        self.versionLabel.setText(QCoreApplication.translate("splashscreen", u"V1.0.0.1", None))
    # retranslateUi

